package com.ea.common.gateway;

import com.ea.common.auth.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(
        name = "ea-gateway",
        url = "${lb.url}/ea-gateway",
        configuration = FeignConfig.class
)
public interface GatewayFeign {
    @PostMapping("/actuator/restart")
    void restart();
}
